package org.hefan.sysmanager.service.impl;

import org.hefan.basic.service.impl.BaseServiceImpl;
import org.hefan.sysmanager.domain.SystemDictionaryType;
import org.hefan.sysmanager.mapper.SystemDictionaryTypeMapper;
import org.hefan.sysmanager.service.ISystemDictionaryTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * ISystemDictionaryTypeService接口的实现类
 */
@Service
public class SystemDictionaryTypeServiceImpl extends BaseServiceImpl<SystemDictionaryType> implements ISystemDictionaryTypeService {

    /**
     * 注入systemDictionaryTypeMapper
     */
    @Autowired
    private SystemDictionaryTypeMapper systemDictionaryTypeMapper;

    @Override
    public void remove(Long id) {
        systemDictionaryTypeMapper.delDetailById(id);
        systemDictionaryTypeMapper.remove(id);
    }
}
